@extends("home.shopbase")
@section("content")

<title>购物车-当当网</title>
<link href="{{asset('shop/shopping_cart_new.css')}}" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="{{asset('shop/size_color.css')}}">
<link rel="stylesheet" href="{{asset('shop/style.css')}}">
<link rel="stylesheet" href="{{asset('shop/public.css')}}">
<script type="text/javascript" src="{{asset('shop/district_new.js')}}"></script>
<link href="{{asset('shop/header_960_150611.css')}}" rel="stylesheet" type="text/css">
<script charset="gb2312" type="text/javascript">var width = 0; narrow = 1;</script>


<form action="http://search.dangdang.com/search.aspx" id="bootpagetopSearch" name="bootpagetopSearch" method="GET">
</form>
<script type="text/javascript" src="{{asset('queryunpaid')}}"></script>
<div class="shoppingcart_wrapper" id="ad_cpt_11850">
	<div>
		<a href="#" target="_blank" rel="nofollow"><img src="{{asset('shop/201608241747235111.jpg')}}"></a>
	</div>
</div>
<div class="logo_line">
	<div class="w960">
		<div class="shopping_procedure">
			<span class="current">我的购物车</span><span>填写订单</span><span>完成订单</span>
		</div>
		<div class="logo">
			<a href="{{url('/')}}"><img src="{{asset('shop/dd_logo.jpg')}}" alt=""></a>
		</div>
	</div>
</div>
<div class="add_line" id="district">
    <div class="w960">
        
    </div>
</div>
	 <script type="text/javascript">
          function loadDistrict(upid){
             $.ajax({
                url:"{{URL('home/district')}}/"+upid,
                type:"get",
                dataType:"json",
                async:true,
                success:function(data){
					//当没有子类的时候就不再往下走
                    if(data.length<1){
                        return;
                    }
					//循环拼装下拉框
                    var select = "<select class=\"fn-show-province\">";
                    select += "<option>-请选择-</option>";
                    for(var i=0;i<data.length;i++){
                        select += "<option value='"+data[i].id+"'>";
                        select += data[i].name;
                        select += "</option>";
                    }
                    select +="</select>";
                    //添加
                    //$("#fid").append(select);
					//为这个下拉框绑定一个选择事件
                    $(select).change(function(){
                                $(this).nextAll("select").remove(); //删除所有后面的级别，即重新选择省份时，后面的级别不显示
                                var id = $(this).find("option:selected").val();
                                loadDistrict(id);
                          }).appendTo("#fid"); //添加到id为fid的表单中
                },
             });
          }
          
          loadDistrict(0);
          
    </script>
<div class="w960" id="showTip">
	<div id="giftDiv" class="pop_tip gift_select" style="left:50%; top:50%; margin:-200px 0 0 -302px; position: fixed; z-index: 1001; display: none;">
		<div class="head_title">
			<div class="title_name">
				您购物车中以下商品可选为赠品
			</div>
			<div class="close">
			</div>
		</div>
		<div class="products_sort" id="giftArea">
		</div>
		<a href="#" class="btn_b fn-back-cart">返回购物车选赠品</a><a id="gift_checkout" href="#" class="btn_b">继续结算，土豪任性不要了</a>
	</div>
	<div class="login_tip" style="display: none;">
		<span class="icon"></span>
	</div>
	<div id="remove_pop" class="login_tip" style="display: none;">
		<span class="icon"></span>
	</div>
	<div id="clear_pop" class="login_tip" style="display: none;">
		<span class="icon"></span>
	</div>
</div>
<!--购物详情展示开始-->
<div class="w960" id="cart">
	<ul class="shopping_title" id="j_carttitle">
		<li class="f1"><button class="allsel">全选</button></li>
		<li class="f2">商品信息</li>
		<li class="f3">单价（元）</li>
		<li class="f4">数量</li>
		<li class="f4">金额（元）</li>
		<li class="f5">操作</li>
	</ul>
	<div class="fn-shops" id="J_cartContent">
		<div class="fn-shop">
			
			
			<div class="shopping_list">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<!--购书信息展示开始-->
				<tbody data-stock="6564" data-offline="false" data-productid="24001739" data-timestamp="1472124084000">
				@foreach($shopcar as $v)
				
				<tr id="tr_2169076866" class="bb_none tree_first ">
				
					<td class="row1">
						<a href="#" data-item="2169076866" class="fn-product-check checknow"><input type="checkbox" name="allselect[]" value="{{$v->id}}" @if($v->status == 1) checked @else "" @endif />选中</a>
					</td>
					<td class="row_img">
						<a href="#" target="_blank" dd_name="查看详情"><img onmouseout="$(this).parent().next().hide()" onmouseover="$(this).parent().next().show()" src="{{asset('uploads/admin/')}}/{{$v->bookPicture}}" width="80" height="80"></a>
						<div style="display: none;" class="img_big">
							<a href="#" dd_name="查看详情" target="_blank"><img src="{{asset('uploads/admin/')}}/{{$v->bookPicture}}" width="200" ></a><span class="arrow"></span>
						</div>
					</td>
					<td class="row_name">
						<div class="name">
							<a href="#" title="过去现在，一并深爱（当当签名版）" target="_blank" dd_name="查看详情" style="word-break:break-all; word-wrap:break-word;">{{$v->bookName}}</a>
						</div>
					</td>
					<td class="row3">
						<span class="red jiage">
						@if($v->price == $v->marketPrice)
						¥<font class="jiage1">{{$v->price}}</font>
						@else
						¥<font class="jiage1">{{$v->price}}</font>({{round($v->price/$v->marketPrice,2)}}折)
						@endif
						</span>
						<div class="low_price fn-up" style="display:none;">
							优惠价格<em></em>
							<div class="low_pop" style="display:none">
								<ul>
									<li>· 限时抢促销优惠5.30元</li>
								</ul>
							</div>
						</div>
					</td>
					<td data-minbuy="0" class="fn-count-tip row3 ">
						<span class="amount fn-updatecount " data-value="1"><a onclick="del({{$v->id}},{{$v->price}})" dd_name="减少数量" href="javascript:;">-</a><input class="shuliang" price="{{$v->price}}" id="num{{$v->id}}" data-value="1" zhi="{{$v->id}}" value="{{$v->number}}" type="text"><a onclick="add({{$v->id}},{{$v->price}})"  style="width:26px"  dd_name="增加数量" href="javascript:;" >+</a></span>
					</td>
					<td class="row4">
						<span class="red" id="zong{{$v->id}}">¥<font class="dange">{{$v->price*$v->number}}</font></span>
					</td>
					<td class="row5 ">
						<span><a href="#" data-item="2169076866" class="fn-add-wish" dd_name="加入收藏按钮">移入收藏</a></span><span><a onclick='doDel({{$v->id}},this)' href="#" data-item="2169076866" class="fn-remove-product" dd_name="删除普通品">删除</a></span>
					</td>
				</tr>
				@endforeach
				</tbody>
				<!-- 购书详情展示结束 -->
				<tfoot>
				<tr class="total">
					<td class="row1">
						&nbsp;
					</td>
					<td class="row_img">
						店铺合计
					</td>
					<td colspan="2">
						&nbsp;
					</td>
					<td colspan="3" class="row4">
						<span class="red big ooline alignright">¥<font id='zongji'>{{$zongji5}}</font></span>
					</td>
				</tr>
				</tfoot>
				</table>
			</div>
		</div>
	</div>
	<div class="shoppingcart_loading" id="J_cartLoading" style="display: none;">
		<img height="30" width="30" src="{{asset('shop/loading.gif')}}">
	</div>
</div>
<!-- 购物详情展示结束 -->
<script type="text/javascript">
	//手动输入数量是总价的变化
	$(function(){
	$(".shuliang").blur(function(){
		var a = $(this).val();
		var b = $(this).attr("price");
		var id = $(this).attr("zhi");
		$("#zong"+id).html("￥"+a*b);
		$.ajax({
			type:"GET",
			url:"{{url('home/shop/shuliang')}}/"+id,
			async:true,       //是否异步
			data:{a:a,id:id}, //请求参数
			dataType:"text",     //响应回来的数据格式
			success:function(res){
				$("#zongji").html(res);
				$("#zongji2").html(res);
			},
			error:function(){
				alert("Sorry~~~failed");
			}
				
		});
	});
});	
	/*  var m = 0;
	for(var i=0;i<$(".shuliang").length;i++){
		
		var aa = $(".shuliang")[i].value;
		
		var jiage2 = $(".jiage1")[i].value;
		jine = parseInt(parseInt(jiage2)*parseInt(aa));
		//alert(parseInt(jine));
		m += jine;
	} */
	//alert(m);
	
	//$(".dange") 
</script>
<script type="text/javascript">
	//商品数量的减少
	function del(id,price){
		if($('#num'+id).val()>1){
			var num = $('#num'+id).val()-1;
			$('#num'+id).val(num);
			$('#num'+id).attr("value",$('#num'+id).val());
			$("#zong"+id).html("￥"+price*num);
			$.ajax({
			type:"GET",
			url:"{{url('home/shop/shuliang')}}/"+id,
			async:true,       //是否异步
			data:{a:num,id:id}, //请求参数
			dataType:"text",     //响应回来的数据格式
			success:function(res){
				$("#zongji").html(res);
				$("#zongji2").html(res);
			},
			error:function(){
				alert("Sorry~~~failed");
			}
				
		});
		}
	}
	
	//商品数量的增加
	function add(id,price){
		var num = parseInt($('#num'+id).val())+1;
		$('#num'+id).val(num);
		$('#num'+id).attr("value",$('#num'+id).val());
		$("#zong"+id).html("￥"+price*num);
		$.ajax({
			type:"GET",
			url:"{{url('home/shop/shuliang')}}/"+id,
			async:true,       //是否异步
			data:{a:num,id:id}, //请求参数
			dataType:"text",     //响应回来的数据格式
			success:function(res){
				$("#zongji").html(res);
				$("#zongji2").html(res);
			},
			error:function(){
				alert("Sorry~~~failed");
			}
				
		});
	}
	
	//商品的删除
	function doDel(id,ob){
		if(confirm("确定要删除吗？")){
			$.ajax({
				type:"GET",
				url:"{{url('home/shop/del')}}/"+id,
				async:true,       //是否异步
				data:{a:"del",id:id}, //请求参数
				dataType:"text",     //响应回来的数据格式
				success:function(res){
					if(res=="Y"){
					  $(ob).parents("tr").remove();  
					}else{
						alert("删除失败！");
					}
				},
				error:function(){
					alert("Sorry~~~failed");
				}
				
			});
		}
     }
            
</script>
<script type="text/javascript">
	//选择结算与否(单样)
	$("input[type=checkbox]").click(function(){
		var id = $(this).attr("value");
		//alert(id);
		$.ajax({
			type:"GET",
			url:"{{url('home/shop/xuanze')}}/"+id,
			async:true,
			data:{id:id},
			dataType:"json",
			success:function(res){
				$("#zongji").html(res[0]);
				$("#zongji2").html(res[0]);
				$("#tongji").html(res[1]);
			},
			error:function(){
				alert("Sorry~~~");
			}
		});
	});
</script>
<script type="text/javascript">
	//全选
	function xuan(){
		$.ajax({
			type:"GET",
			url:{{url('home/shop/xuan')}},
			async:true,
			dataType:"json",
			success:function(res){
				alert(res);
			},
			error:function(){
				alert("failed~~~")
			}
		});
	}
	
</script>
<div class="w960" id="weipinboxarea" style="display: none">
	<div class="login_tip">
		<span class="icon"></span>购物车中有<a id="weipinhui" href="#" class="icon_eve weipin" style="display: none;">尾品汇</a><a id="zuizhidang" href="#" class="icon_eve zhidang" style="display: none;">z值当</a>商品，请在<span class="time" id="J_limitedMinute"></span><span class="time" id="J_limitedSecond"></span>内结算.<a herf="javascript:;" class="more fn-vnewz-tips">了解限时结算&gt;&gt;</a>
	</div>
</div>
<div id="hide_div" style="height:0px;visibility:hidden;">
</div>
<div style="position: static; bottom: -20px; z-index: 101; width: 100%; left: 0px;">
	<div class="shopping_total" id="J_totalMoneyBlock">
		<div class="shopping_total_right">
			<a class="total_btn fn-checkout" href="{{url('/home/shop/jiesuan')}}" id="checkout_btn" dd_name="结算">结&nbsp;&nbsp;算</a>
			<div class="subtotal">
				<p>
					<span class="cartsum">总计(不含运费)：</span><span id="payAmount" class="price">¥<font id="zongji2">{{$zongji5}}</font></span>
				</p>
				<p>
					<span class="cartsum">已节省：</span><span id="totalFavor">¥0.00</span>
				</p>
			</div>
			<div class="pop_del pop_ebook fn-ck" id="ck_tip" style="display:none">
				<h1>电子书重复购买提示</h1>
				<p>
				</p>
				<a id="ck_link" href="#" class="pop_btn">朕知道了</a>
			</div>
		</div>
		<div class="shopping_total_left" id="J_leftBar">
			<button class="allsel">全选</button>
			<a id="j_removeproducts" href="#" class="fn-batch-remove" dd_name="批量删除按钮">批量删除</a>
			<span>已选择<font color="red" id="tongji">{{$zongliang5}}</font>件商品</span>
			<div id="J_batchRemoveProductBox" style="display: none;z-index:-1;left:0px;" class="pop_del">
				<p>
					您确定要批量删除商品吗？
				</p>
				<a href="#" class="pop_btn fn-confirm-batchremovebox">确定</a><a href="#" class="pop_btn fn-close-batchremovebox">取消</a>
			</div>
			<div id="J_batchAddWishBox" style="display: none;z-index:-1;left:85px;" class="pop_del col ">
				<p>
					您确定要批量移入收藏吗？
				</p>
				<a href="#" class="pop_btn fn-confirm-batchaddwish">确定</a><a href="#" class="pop_btn fn-close-batchwishbox">取消</a>
			</div>
		</div>
	</div>
</div>
<div id="J_errorBox" style="display: none;z-index:102" class="pop_del col">
	<p>
	</p>
	<a class="pop_btn fn-close-removebox" href="#">确定</a>
</div>
<div id="J_addToWishTipHtml" style="display: none; position: absolute;">
</div>
<div id="J_addWishBox" style="display: none" class="pop_del col ">
	<p>
		移入收藏后，将不在购物车显示，是否继续操作？
	</p>
	<a href="#" class="pop_btn fn-confirm-addwish">确定</a><a href="#" class="pop_btn fn-close-wishbox">取消</a>
</div>
<div id="J_removeProductBox" style="display: none;" class="pop_del">
	<p>
		您确定要删除商品吗？
	</p>
	<a href="#" class="pop_btn fn-confirm-removebox">确定</a><a href="#" class="pop_btn fn-close-removebox">取消</a>
</div>
<div id="J_removeGiftBox" style="display: none;" class="pop_del">
	<p>
		您确定要删除赠品吗？
	</p>
	<a href="#" class="pop_btn fn-confirm-removegiftbox">确定</a><a href="#" class="pop_btn fn-close-removebox">取消</a>
</div>
<script type="text/javascript">
	$(function(){
		//获取全选按钮并添加点击事件
		$("button.allsel").click(function(){
			//根据按钮上的内容执行对象的操作
			switch($("button.allsel").html()){
				case "全选":
					$("input:checkbox").attr("checked",true);
					$("button.allsel").html("全不选");
					$("button.allsel").parent("#j_selectall2").attr("class","checknow fn-checkall check_on");
					//window.location.href = "{{url('home/shop/quanbu')}}";
					$.ajax({
						type:"GET",
						url:"{{url('home/shop/quanbu')}}",
						async:true,
						data:{status:"1"},
						dataType:"json",
						success:function(res){
							$("#zongji").html(res[0]);
							$("#zongji2").html(res[0]);
							$("#tongji").html(res[1]);
						},
						error:function(){
							alert("Sorry~~~");
						}
					}); 
					break;
				case "全不选":
					$("input:checkbox").attr("checked",false);
					$("button.allsel").html("全选");
					$.ajax({
						type:"GET",
						url:"{{url('home/shop/quanbu')}}",
						async:true,
						data:{status:"0"},
						dataType:"json",
						success:function(res){
							$("#zongji").html(res[0]);
							$("#zongji2").html(res[0]);
							$("#tongji").html(res[1]);
						},
						error:function(){
							alert("Sorry~~~");
						}
					}); 
					break;
			}
		});
	});
</script>
<div class="w960">
	<div class="empty" id="empty" style="display:none">
		<p>
			您的购物车还是空的，您可以：
		</p>
		<a href="#" class="btn">去逛逛</a>
	</div>
	<div class="shopping_ads fn-shopping-ads">
		<div class="my_ads" id="J_alsobuy" style="">
			<ul class="ads_tab">
				<li><a href="#" class="current">买过同样商品的用户还买了</a></li>
			</ul>
			<div class="ads_box">
				<div class="show_list">
					<div class="fn-arrows" style="">
						<a href="#" class="arrow left"></a><a href="#" class="arrow right"></a>
					</div>
					<div class="fn-ad-items">
						<ul class="show_box" request_id="201608251921375013_000080670172101728" traced="1">
							<li traced="1"><a href="#" class="gpic" title="我想和你过好这人生 （随书赠送胶囊小姐浪漫贴纸）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23924507-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">我想和你过好这人生 （随书赠送胶囊小姐浪漫贴纸）</a>
							</p>
							<p>
								<span class="price">¥14.90</span>
							</p>
							</li>
							<li traced="1"><a href="#" class="gpic" title="别相信任何人" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/22524671-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">别相信任何人</a>
							</p>
							<p>
								<span class="price">¥14.50</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23682037&amp;position=3&amp;state=dev&amp;client=PC" traced="1"><a href="#" class="gpic" title="孤儿列车" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23682037-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">孤儿列车</a>
							</p>
							<p>
								<span class="price">¥18.00</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23307349&amp;position=4&amp;state=dev&amp;client=PC" traced="1"><a href="#" class="gpic" title="群山回唱" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23307349-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">群山回唱</a>
							</p>
							<p>
								<span class="price">¥24.70</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=20781064&amp;position=5&amp;state=dev&amp;client=PC" traced="1"><a href="#" class="gpic" title="傲慢与偏见（一力文库买一赠一）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/20781064-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">傲慢与偏见（一力文库买一赠一）</a>
							</p>
							<p>
								<span class="price">¥23.30</span>
							</p>
							</li>
						</ul>
						<ul class="show_box" request_id="201608251921375013_000080670172101728" style="display: none;">
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23251289&amp;position=6&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="不曾走过，怎会懂得（没走过的，是路；走过的，才是人生）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23251289-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">不曾走过，怎会懂得（没走过的，是路；走过的，才是人生）</a>
							</p>
							<p>
								<span class="price">¥17.30</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23273517&amp;position=7&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="如果一切重来（《偷影子的人》作者力作，法国畅销逾百万册，一部集时空旅行、悬疑、爱情于一身的绝妙小说。）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23273517-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">如果一切重来（《偷影子的人》作者力作，法国畅销逾百万册，一部集时空旅行、悬疑、爱情于一身的绝妙小说。）</a>
							</p>
							<p>
								<span class="price">¥16.00</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=20002398&amp;position=8&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="灿烂千阳（《追风筝的人》作者献给阿富汗女性的动人故事。关于不可宽恕的时代，不可能的友谊以及不可毁灭的爱。每个布满灰尘的面孔背后都有一个灵魂。）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/20002398-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">灿烂千阳（《追风筝的人》作者献给阿富汗女性的动人故事。关于不可宽恕的时代，不可能的友谊以及不可毁灭的爱。每个布满灰尘的面孔背后都有一个灵魂。）</a>
							</p>
							<p>
								<span class="price">¥19.30</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23793165&amp;position=9&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="消失的女孩" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23793165-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">消失的女孩</a>
							</p>
							<p>
								<span class="price">¥16.00</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23719809&amp;position=10&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="忽然七日（新版）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23719809-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">忽然七日（新版）</a>
							</p>
							<p>
								<span class="price">¥19.00</span>
							</p>
							</li>
						</ul>
						<ul class="show_box" request_id="201608251921375013_000080670172101728" style="display: none;">
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23757098&amp;position=11&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="春江花月夜套装（全两册）(江南、辛夷坞、丁墨携千万读者联袂推荐）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23757098-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">春江花月夜套装（全两册）(江南、辛夷坞、丁墨携千万读者联袂推荐）</a>
							</p>
							<p>
								<span class="price">¥32.80</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23388175&amp;position=12&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="满满都是我对你的爱" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23388175-1_b.jpg')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">满满都是我对你的爱</a>
							</p>
							<p>
								<span class="price">¥14.90</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23747193&amp;position=13&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="一个人的朝圣2：奎妮的情歌" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23747193-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">一个人的朝圣2：奎妮的情歌</a>
							</p>
							<p>
								<span class="price">¥25.30</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23762277&amp;position=14&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="只想和你好好的" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23762277-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">只想和你好好的</a>
							</p>
							<p>
								<span class="price">¥14.90</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23745954&amp;position=15&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="如果这就是爱情（畅销言情天后梅子黄时雨全新力作）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23745954-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">如果这就是爱情（畅销言情天后梅子黄时雨全新力作）</a>
							</p>
							<p>
								<span class="price">¥14.90</span>
							</p>
							</li>
						</ul>
						<ul class="show_box" request_id="201608251921375013_000080670172101728" style="display: none;">
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23274638&amp;position=16&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="追风筝的人" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23274638-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">追风筝的人</a>
							</p>
							<p>
								<span class="price">¥20.30</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=22788959&amp;position=17&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="偷影子的人" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/22788959-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">偷影子的人</a>
							</p>
							<p>
								<span class="price">¥20.50</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23685329&amp;position=18&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="岛上书店（没有谁是一座孤岛，每本书都是一个世界。）" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23685329-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">岛上书店（没有谁是一座孤岛，每本书都是一个世界。）</a>
							</p>
							<p>
								<span class="price">¥17.50</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23464478&amp;position=19&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="解忧杂货店" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23464478-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">解忧杂货店</a>
							</p>
							<p>
								<span class="price">¥27.30</span>
							</p>
							</li>
							<li position="request_id=201608251921375013_000080670172101728&amp;perm_id=20160824224959643112185468539222018&amp;module=cart_alsobuy&amp;main_pid=0&amp;reco_pid=23353342&amp;position=20&amp;state=dev&amp;client=PC"><a href="#" class="gpic" title="从你的全世界路过 2014中国好书榜获奖图书" dd_name="查看商品详情" target="_blank"><img src="{{asset('shop/23353342-1_b.jpg')}}')}}" width="150" height="150"></a>
							<p>
								<a href="#" target="_blank" dd_name="查看商品详情">从你的全世界路过 2014中国好书榜获奖图书</a>
							</p>
							<p>
								<span class="price">¥21.60</span>
							</p>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="my_ads" id="fn-my-wish" style="display:none;">
		</div>
	</div>
</div>
<div class="pop_del pop_ebook" style="left:460px; right:auto; top:-130px;display: none;" id="J_vnewzTipBox">
	<a href="#" class="close"></a>
	<h1>限时说明</h1>
	<p>
		由于尾品会和新品汇的商品库存有限，我们只能为您保留<span class="red">20分钟</span>，否则尾品会及新品汇的商品将被删除，请尽快结算。
	</p>
</div>
<div id="mask">
</div>
<div id="sema">
	<div id="size_color_box" class="size_color_box" dd_name="购物车换分色分码弹窗">
		<div class="pic_info clearfix">
			<a href="#" class="sc_close fn-close-ss"></a>
			<div class="show_pic">
				<a class="big" title="商品名称" href="#">
				<span class="pic"><img class="fn-img" width="350" height="350" alt="商品名称"></span>
				</a>
			</div>
			<div class="show_info">
				<div class="head" name="Title_pub">
					<h1 class="fn-data" data-set="title"></h1>
				</div>
				<div class="buy_area">
					<div class="clearfix" id="colorDivId">
						<div class="show_info_left fn-data" data-set="colorname">
						</div>
						<div class="show_info_right o_h">
							<ul class="color fn-colors" id="select_color_id">
							</ul>
						</div>
					</div>
					<div class="clearfix m_t6" id="sizedivid">
						<div class="show_info_left fn-data" data-set="sizename">
						</div>
						<div class="show_info_right o_h">
							<ul class="size fn-sizes" id="select_size_id">
							</ul>
						</div>
					</div>
					<div class="clearfix m_t8">
						<div class="show_info_left">
							&nbsp;
						</div>
						<div class="show_info_right c_red fn-errormsg">
						</div>
					</div>
					<div class="clearfix m_t8">
						<div class="show_info_left">
							&nbsp;
						</div>
						<div class="show_info_right clearfix">
							<a id="changeSkuDivId" href="#" class="yes_id_do fn-semasubmit" dd_name="购物车换分色分码确认">确 认</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="fixedbar">
	<div class="window_suspend">
		<a target="_blank" href="#">问卷调查</a>
	</div>
</div>


<link href="{{asset('shop/win_login20150728.css')}}" rel="stylesheet" type="text/css">
<iframe name="google_conversion_frame" title="Google conversion frame" width="300" height="13" src="{{asset('saved_resource.html')}}" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no">
</iframe>
<noscript>
	&lt;div style="display:inline;"&gt;
	&lt;img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1066666760/?value=0&amp;amp;guid=ON&amp;amp;script=0"/&gt;
	&lt;/div&gt;
</noscript>

<img style="display: none;" src="{{asset('shop/collect.jpg')}}')}}"><img style="display: none;" src="./购物车-当当网_files/collect(1).jpg"><img style="display: none;" src="{{asset('shop/collect(2).jpg')}}"><img style="display: none;" src="{{asset('shop/collect(3).jpg')}}"><img style="display: none;" src="{{asset('shop/collect(4).jpg')}}">

@endsection